package com.decent.manager.system.auth.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.security.core.GrantedAuthority;

/**
 * 用来包装一下角色名称
 *
 * @author 张子旭
 * @date 2022/1/20
 */
@Data
@AllArgsConstructor
public class UserAuthority implements GrantedAuthority {
    private static final long serialVersionUID = 8146490076780618280L;
    private String authority;

    @Override
    public String getAuthority() {
        return authority;
    }

}
